<?php
defined('_JEXEC') or die('');
?>

<html>
    <head>
	<style type="text/css">
            body, td, span, p, th { font-size: 14px; }
	    table.html-email {margin:10px auto;background:#fff;}
	    .html-email tr{}
	    span.grey {color:#666;}
	    span.date {color:#666;}
	    a.default:link, a.default:hover, a.default:visited {color:#666;line-height:25px;margin: 10px ;padding: 3px 8px 1px 8px;background-position: 0px 0px;display: inline-block;text-decoration: none;}
	    a.default:hover {color:#888;}
	    .cart-summary{ }
	    .html-email th {margin: 0px;padding: 10px;}
	    .sectiontableentry2, .html-email th, .cart-summary th{margin: 0px;padding: 10px;}
	    .sectiontableentry1, .html-email td, .cart-summary td {background: #fff;margin: 0px;padding: 10px;}
	</style>

    </head>

    <body style="word-wrap: break-word;">
	<div style="" width="100%">
	    <table style="margin: auto;" cellpadding="0" cellspacing="0"  >
		<tr>
		    <td>


			<table class="html-email" cellspacing="0" cellpadding="0" border="0" width="100%"> 
			
			
						<?php $product_link = JURI::root().'index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $this->product->virtuemart_category_id .
			'&virtuemart_product_id=' . $this->product->virtuemart_product_id; ?>
			
				
			    <tr>
				<td valign="top" width="100%">
				
<?php echo JText::_('COM_VIRTUEMART_MAILQUESTION1');?>			
<br/><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_MAILNAME');?>: </strong><?php echo $this->user['name'];?><br />
<strong><?php echo JText::_('COM_VIRTUEMART_MAILEMAIL');?>: </strong><?php echo $this->user['email'];?><br />
<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_CUSNMR');?>:</strong> <?php echo $this->customernmr;?><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_USER_FORM_COUNTRY');?>:</strong> <?php echo $this->country;?><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_TELNR');?>: </strong><?php echo $this->phone;?><br/>

<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_QUESTION');?>: </strong><?php echo $this->comment;?><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_ITEMID');?>:	</strong><?php echo $this->product->product_sku;?><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_ITEMNAME');?>: </strong> <?php echo $this->product->product_name ?><br/><br/>
<strong><?php echo JText::_('COM_VIRTUEMART_MAIL_PRODLINK');?>: </strong><?php echo $product_link;?>
				
				<br /><br />
<?php echo JText::_('COM_VIRTUEMART_MAIL_FOOTER1');?>				
<br/><br/><img src="<?php echo JURI::root();?>templates/bkm/images/logomail.png" />
<br/>&nbsp;&nbsp;<span style="font-size:0.01px; color:#fff;">.</span>					

				</td>
			    </tr>
			</table>
		    </td>
		</tr>
	    </table>
	</div>
    </body>
</html>
</head>

